#include "ThreadManager/test.h"

#include<iostream>
#include<opencv4/opencv2/opencv.hpp>

using namespace std;
using namespace cv;
using namespace hnurm;

int main()
{
    std::cout<<"start init model"<<std::endl;
    // model path
    auto detector = NanoDet("/home/zzy/nanodet/together/demo_openvino/nanodet.xml");
    std::cout<<"success"<<std::endl;
    hnurm::TargetInfo target;
     webcam_demo(detector,TARGET_RED,2,target);//video_demo(detector,"path")
//    video_demo(detector,TARGET_BLUE,"/home/rm/ArmorDetector/反陀螺慢动作效果.mp4");
//     video_demo(detector,TARGET_RED,"/home/zzy/opencv_test/步兵.mp4", target);
    return 0;
}
